package com.xyw.common.taobaokecommon.enums;

import com.xyw.code.common.core.exception.ErrorType;

/**
 * Created with IntelliJ IDEA.
 * User: xuyiwei
 * Date: 2020/8/6
 * Time: 上午8:15
 * Email: 1328312923@qq.com
 * Description: No Description
 **/
public enum TaobaokeErrorType implements ErrorType {
    MATERIALOPTIONAL_NULL("A000001", "物料详情为空"),

    ;

    private String code;
    private String msg;

    TaobaokeErrorType(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
